<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>角色信息</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/skins/default/css/chico-min-0.11.css" />
</head>
<body>
	<h2>角色信息</h2>
	<p class="ch-form-actions" style="float: right;margin-bottom: 5px;">
		<s:a action="findRoleInfo" namespace="/system" cssClass="ch-btn ch-btn-small">新增</s:a>
	</p>
	<table class="ch-datagrid">
		<thead>
			<tr>
				<th scope="row" width="5%">序号</th>
				<th width="20%">角色编码</th>
				<th width="20%">角色名称</th>
				<th width="20%">操作</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="roleList" status="st">
				<tr <s:if test="#st.isEven()">style="BACKGROUND: #f8f8f8"</s:if>>
					<td><s:property value="%{#st.count}" />
					</td>
					<td><s:property value="roleCode" />
					</td>
					<td><s:property value="roleName" />
					</td>
					<td><s:a action="findRoleInfo" namespace="/system"
							cssClass="ch-btn ch-btn-small">
							<s:param name="roleId" value="roleId"></s:param>修改</s:a> <s:a
							action="delRoleInfo" namespace="/system"
							cssClass="ch-btn ch-btn-small">
							<s:param name="roleId" value="roleId"></s:param>
							删除</s:a>
					</td>
				</tr>
			</s:iterator>
		</tbody>
	</table>
</body>
</html>